@font-face {
  font-family: 'iconfont';
  src: url("iconfont.eot");
  src: url("iconfont.eot?#iefix") format("embedded-opentype"), url("../iconfont/iconfont.woff2") format("woff2"), url("iconfont.woff") format("woff"), url("iconfont.ttf") format("truetype"), url("iconfont.svg#iconfont") format("svg");
}

main {
  background-color: #F5F5F5;
}

.w {
  width: 1200px;
  margin: 0 auto;
}

* {
  box-sizing: border-box;
}

.header1 {
  height: 56px;
  display: flex;
  align-items: center;
}

.header1 .title {
  font-weight: 400;
  margin-right: 20px;
}

.header1 .title span {
  font-size: 14px;
  color: #585858;
}

.header1 .title i {
  font-family: 'iconfont';
  color: #aaa;
}

.header1 .title em {
  font-size: 15px;
  color: #000;
}

.header1 .search span {
  position: relative;
  display: inline-block;
  width: 108px;
  height: 30px;
  line-height: 30px;
  border-radius: 5px;
  background-color: #fff;
  border: 1px solid #aaa;
  font-size: 14px;
  padding: 0 10px;
  margin-right: 10px;
}

.header1 .search span #del {
  position: absolute;
  top: -5px;
  right: 2px;
  font-size: 20px;
  color: #aaa;
  cursor: pointer;
}

nav {
  margin-bottom: 30px;
}

nav div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #fff;
  min-height: 76px;
  padding: 0 20px;
}

nav div:nth-of-type(-n+3) {
  border-bottom: 1px dashed #eee;
}

nav div .left {
  border: 0;
}

nav div .left i {
  font-size: 14px;
  color: #333;
}

nav div .left ul {
  display: flex;
}

nav div .left ul li {
  font-size: 14px;
  color: #333;
  cursor: pointer;
  margin-right: 20px;
}

nav div .left ul li:nth-of-type(1) {
  color: #97C722;
}

nav div .left ul li:nth-of-type(1) em {
  font-family: 'iconfont';
  color: #97C722;
}

nav div .left ul li[type="checkbox"] {
  width: 10px;
  height: 10px;
  outline: #333;
}

nav div .right {
  cursor: pointer;
  border: 0;
}

nav div .right span {
  font-size: 14px;
  color: #999;
}

nav div .right i {
  font-family: 'iconfont';
  font-size: 14px;
  color: #999;
}

.goods_box ul {
  display: flex;
  flex-wrap: wrap;
}

.goods_box ul li {
  position: relative;
  width: 222px;
  height: 348px;
  border: 1px solid #e8e8e8;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-right: 22px;
  margin-bottom: 25px;
}

.goods_box ul li:hover {
  box-shadow: 0px 0px 20px rgba(192, 189, 189, 0.685);
}

.goods_box ul li:hover .addCarPurchase {
  display: block;
}

.goods_box ul li:nth-of-type(5n) {
  margin-right: 0;
}

.goods_box ul li a img {
  width: 176px;
  height: 176px;
  margin-bottom: 40px;
}

.goods_box ul li .text1 {
  width: 200px;
  font-size: 16px;
  color: #333;
  margin-bottom: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}

.goods_box ul li .text2 {
  font-size: 14px;
  color: #999;
  margin-bottom: 12px;
}

.goods_box ul li p {
  font-size: 24px;
  color: #c81c3a;
  margin-bottom: 20px;
}

.goods_box ul li .addCarPurchase {
  position: absolute;
  left: 10px;
  bottom: 24px;
  width: 220px;
  height: 40px;
  display: none;
}

.goods_box ul li .addCarPurchase span {
  display: inline-block;
  width: 100px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  float: left;
}

.goods_box ul li .addCarPurchase .addCar {
  border: 1px solid #65C722;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
  background-color: #fff;
  font-size: 16px;
  color: #65C722;
  cursor: pointer;
}

.goods_box ul li .addCarPurchase .purchase {
  border: 1px solid #65C722;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  background-color: #65C722;
  font-size: 16px;
  color: #fff;
  cursor: pointer;
}
